# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class RiskVarCfg(object):

    def __init__(self, id=None, wafInstanceId=None, domain=None, name=None, desc=None, disable=None, eventCode=None, varType=None, cost=None, output=None, property=None, dura=None, logic=None, rules=None, pos=None, key=None):
        """
        :param id: (Optional) 规则id
        :param wafInstanceId: (Optional) WAF实例id
        :param domain: (Optional) 域名
        :param name: (Optional) 规则名称
        :param desc: (Optional) desc
        :param disable: (Optional) 0-使用中 1用-禁
        :param eventCode: (Optional) 时间编码
        :param varType: (Optional) 变量类型 template \|  userDefine \|  online \| offline
        :param cost: (Optional) 消耗时间
        :param output: (Optional) 输出
        :param property: (Optional) 属性
        :param dura: (Optional) 持续时间，单位为秒
        :param logic: (Optional) 逻辑  and \| or
        :param rules: (Optional) 规则
        :param pos: (Optional) 参数获取位置
        :param key: (Optional) 参数的key
        """

        self.id = id
        self.wafInstanceId = wafInstanceId
        self.domain = domain
        self.name = name
        self.desc = desc
        self.disable = disable
        self.eventCode = eventCode
        self.varType = varType
        self.cost = cost
        self.output = output
        self.property = property
        self.dura = dura
        self.logic = logic
        self.rules = rules
        self.pos = pos
        self.key = key
